home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / mc51bugs.zip / Q31600 < prev    next >
Text File  |  1988-07-21  |  1KB  |  48 lines

  1. Q31600 Internal Compiler Error: Regmd.c 1.117, Line 1654
  2. C Compiler
  3. 5.10
  4. MS-DOS
  5.  
  6. Summary:
  7.    The code below generates the following compiler error when
  8. compiling a short piece of code:
  9.  
  10.    fatal error C1001: Internal Compiler Error
  11.    (compiler file '@(#)regMD.c:1.117', line 1654)
  12.    Contact Microsoft Technical Support
  13.  
  14.    The code that generates the error is as follows:
  15.  
  16.    #include <stdio.h>
  17.    #include <malloc.h>
  18.    main()
  19.    {
  20.      int i;
  21.      char huge **K;
  22.      char *ptr;
  23.      K[Word_token(ptr)] = malloc(i);
  24.    }
  25.  
  26. More Information:
  27.    You can work around this problem by creating a temporary
  28. variable and assigning it the value of the function Word_token(ptr).
  29. For example, you would make the following change to the code:
  30.  
  31.       .
  32.       .
  33.      int j;
  34.      j = Word_Token(ptr);
  35.      K[j] = malloc(i); ...
  36.       .
  37.       .
  38.  
  39.    Microsoft has confirmed this to be a problem in Version 5.10 of the
  40. C compiler.
  41.    Microsoft is researching this problem and will post new information
  42. as it becomes available.
  43.  
  44.  
  45.  
  46. Keywords:  buglist5.10
  47. Updated  88/07/21 03:19
  48.